
import Board from  '../../components/tile/Board.js'
export default class PieceProcess {
    constructor(bw, c) {
      // 参数校验
      // if (bw !== Board.BLACK && bw !== Board.WHITE) {
      //   throw new Error('不合法的行棋颜色：${bw}');
      // }
  
      this.bw = bw;           // 棋子颜色
      this.c = c;             // 坐标
      this.removedList = [];  // 死子列表
    }
  }